package com.ruoyi.project.product.style.mapper;

import com.ruoyi.project.product.style.domain.Style;

import java.util.List;

/**
 * @Auther: 高柯
 * @Date: 2020/4/15
 * @Description: com.ruoyi.project.product.style.mapper
 * @version: 1.0
 */
public interface StyleMapper {

    List<Style> selectStyleList(Style style);

    Style checkStyleNameUnique(String styleName);

    int insertStyle(Style style);

    Style selectStyleById(Long styleId);

    int updateStyle(Style style);

    int deleteStyleByIds(Long[] styleIds);

    /**
     * 得到产品风格信息
     * @return
     */
    List<Style> selectStyle();
}
